package com.eistert.java.algorithm.tencommonalgorithms.prim;

/**
 * @Description:
 * @Author: ai
 * @create: 2023-04-22 10:29
 */
public class MGraph {
    // 表示图的节点个数
    int verxs;
    char[] data; // 存放节点数据
    int[][] weight; // 存放边，就是我们的领接矩阵

    //
    public MGraph(int verxs) {
        this.verxs = verxs;
        this.data = new char[verxs];
        this.weight = new int[verxs][verxs];
    }

}
